/// sampleDate : "2022-10-01 00:00:00"
/// customerId : 5
/// customerName : "超级管理员"
/// sterDate : "2022-10-02 00:00:00"
/// destroyedDate : "2022-10-03 00:00:00"
/// sampleNo : "111"
/// deleteStatus : 0
/// branchId : 6627
/// tenantId : 1000
/// saasId : 1000
/// sampleNum : 2
/// id : 2
/// createdBy : "5"
/// createdDate : "2022-10-10 09:11:22"
/// updatedBy : "5"
/// updatedDate : "2022-10-10 09:11:22"

class FoodSampleListData {
  FoodSampleListData({
      this.sampleDate, 
      this.customerId, 
      this.customerName, 
      this.sterDate, 
      this.destroyedDate, 
      this.sampleNo, 
      this.deleteStatus, 
      this.branchId, 
      this.tenantId, 
      this.saasId, 
      this.sampleNum, 
      this.id, 
      this.createdBy, 
      this.createdDate, 
      this.updatedBy, 
      this.updatedDate,});

  FoodSampleListData.fromJson(dynamic json) {
    sampleDate = json['sampleDate'];
    customerId = json['customerId'];
    customerName = json['customerName'];
    sterDate = json['sterDate'];
    destroyedDate = json['destroyedDate'];
    sampleNo = json['sampleNo'];
    deleteStatus = json['deleteStatus'];
    branchId = json['branchId'];
    tenantId = json['tenantId'];
    saasId = json['saasId'];
    sampleNum = json['sampleNum'];
    id = json['id'];
    createdBy = json['createdBy'];
    createdDate = json['createdDate'];
    updatedBy = json['updatedBy'];
    updatedDate = json['updatedDate'];
  }
  String? sampleDate;
  num? customerId;
  String? customerName;
  String? sterDate;
  String? destroyedDate;
  String? sampleNo;
  num? deleteStatus;
  num? branchId;
  num? tenantId;
  num? saasId;
  num? sampleNum;
  num? id;
  String? createdBy;
  String? createdDate;
  String? updatedBy;
  String? updatedDate;
FoodSampleListData copyWith({  String? sampleDate,
  num? customerId,
  String? customerName,
  String? sterDate,
  String? destroyedDate,
  String? sampleNo,
  num? deleteStatus,
  num? branchId,
  num? tenantId,
  num? saasId,
  num? sampleNum,
  num? id,
  String? createdBy,
  String? createdDate,
  String? updatedBy,
  String? updatedDate,
}) => FoodSampleListData(  sampleDate: sampleDate ?? this.sampleDate,
  customerId: customerId ?? this.customerId,
  customerName: customerName ?? this.customerName,
  sterDate: sterDate ?? this.sterDate,
  destroyedDate: destroyedDate ?? this.destroyedDate,
  sampleNo: sampleNo ?? this.sampleNo,
  deleteStatus: deleteStatus ?? this.deleteStatus,
  branchId: branchId ?? this.branchId,
  tenantId: tenantId ?? this.tenantId,
  saasId: saasId ?? this.saasId,
  sampleNum: sampleNum ?? this.sampleNum,
  id: id ?? this.id,
  createdBy: createdBy ?? this.createdBy,
  createdDate: createdDate ?? this.createdDate,
  updatedBy: updatedBy ?? this.updatedBy,
  updatedDate: updatedDate ?? this.updatedDate,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['sampleDate'] = sampleDate;
    map['customerId'] = customerId;
    map['customerName'] = customerName;
    map['sterDate'] = sterDate;
    map['destroyedDate'] = destroyedDate;
    map['sampleNo'] = sampleNo;
    map['deleteStatus'] = deleteStatus;
    map['branchId'] = branchId;
    map['tenantId'] = tenantId;
    map['saasId'] = saasId;
    map['sampleNum'] = sampleNum;
    map['id'] = id;
    map['createdBy'] = createdBy;
    map['createdDate'] = createdDate;
    map['updatedBy'] = updatedBy;
    map['updatedDate'] = updatedDate;
    return map;
  }

}